<?php $this->beginContent('//layouts/main'); ?>
<div class="span-20">
	<div id="content" style="background: none">
		<?php echo $content; ?>
	</div><!-- content -->
</div>
<div class="span-5 last">
	<div id="sidebar">
	<?php
		$this->beginWidget('zii.widgets.CPortlet', array(
			'title'=>'Menú',
		));
		$this->widget('zii.widgets.CMenu', array(
			'items'=>$this->menu,
			'htmlOptions'=>array('class'=>'operations'),
		));
		$this->endWidget();
                
                if(isset($this->menu2)){
                
                    $this->beginWidget('zii.widgets.CPortlet', array(
                            'title'=>'Acciones',
                    ));
                    $this->widget('zii.widgets.CMenu', array(
                            'items'=>$this->menu2,
                            'htmlOptions'=>array('class'=>'operations'),
                    ));
                    $this->endWidget();
                
                }
                
	?>
	</div><!-- sidebar -->
</div>
<?php $this->endContent(); ?>